package PlaneGame.CODE;
import static PlaneGame.CODE.GameFrame.*;
public class AgainButton extends GameButton{
    public AgainButton(int width, int height, int x, int y, int imageNumber, String[] paths) {
        super(width, height, x, y, imageNumber, paths);
    }
    void againGame(){
        mrW.init();
        tip1.init();
        tip2.init();
        startButton.init();
        exitButton.init();
        suspendButton.init();
        bloodString.init();
        scoreString.init();
        bulletString.init();
        medicineGenerator.init();
        ammoGenerator.init();
        bombAmmoGenerator.init();
        enemyAGenerator.init();
        enemyBGenerator.init();
        enemyCGenerator.init();
        enemyCGenerator.enemyC.winString.init();
        mrW.lostString.init();
        recordString.init();
        this.init();
    }
    @Override
    void clickEffect() {
        againGame();
    }

    @Override
    void releaseEffect() {

    }

    @Override
    void pressEffect() {

    }
}
